package com.imooc.coupon.filter;

/**
 * @description:
 * @author：naxiaozi，微信：naxiaozi
 * @date: 2025/8/3
 * @Copyright： 访问日志过滤器
 */
public class PreRequestFilter extends AbstractPreZuulFilter {
    @Override
    protected Object cRun() {
        context.set("startTime",System.currentTimeMillis());
        return success();
    }

    @Override
    public int filterOrder() {
        return 0;
    }
}
